package work.mediway.mdm.biz.dto.dict;

import java.util.Map;

import javax.validation.constraints.NotBlank;

import cn.hutool.core.map.MapUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2021/4/16
 */
@Data
@ApiModel
public class DictDetailDTO {

    @ApiModelProperty(value = "表代码", required = true)
    @NotBlank(message = "表代码不能为空")
    private String tableCode;

    @ApiModelProperty(value = "字段参数键值对(传入businessrowid值会更新数据)")
    private Map<String, Object> data = MapUtil.newHashMap();
}
